<template>
	<view>
		<view class="section">
			<view class="item">
				<text>账号与安全</text>
				<view class="right">
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
		</view>
		<view class="section">
			<view class="item">
				<text>新消息通知</text>
				<view class="right">
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
			<view class="item">
				<text>隐私</text>
				<view class="right">
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
			<view class="item">
				<text>通用</text>
				<view class="right">
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
		</view>
		<view class="section">
			<view class="item">
				<text>帮助与反馈</text>
				<view class="right">
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
			<view class="item">
				<text>关于微信</text>
				<view class="right">

					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
		</view>
		<view class="section">
			<view class="item">
				<text>插件</text>
				<view class="right">
					版本7.0.8
					<text class="iconfont">&#xe74b;</text>
				</view>
			</view>
		</view>
		<view class="section">
			<view class="btn">
				切换账号
			</view>
		</view>
		<view class="section">
			<view class="btn" @click="exit">
				退出登录
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			exit() {
				uni.removeStorageSync('user');
				uni.redirectTo({
					url: '../login/login'
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #ededed;
	}

	.section {
		margin-bottom: 15upx;
		background-color: #fff;

		>.item {
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 1px solid #ccc;
			height: 100upx;
			padding: 0 28upx;

			>text {
				font-size: 30upx;
			}

			.right {
				font-size: 28upx;
				color: #999999;
			}

			&:nth-last-child(1) {
				border: none;
			}
		}

		>.btn {
			font-size: 30upx;
			line-height: 100upx;
			text-align: center;
		}
	}
</style>
